package com.lideru.backstage.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lideru.backstage.entity.Book;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author lideru
 */
public interface BookMapper extends BaseMapper<Book> {
    List<Book> countBookByHistory();

    List<Book> countBookByBookrack();

    List<Book> countBookByFavorite();

    List<Book> countBookByMessage();

    List<Book> countBookByNew();
}
